SftTree/NET 2.0

Add Method, ColumnCollectionClass Class

Softel vdm, Inc.

Adds the specified column to the column collection.

Syntax      ColumnCollectionClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub Add( ByVal Col As ColumnClass )

C#   

public void Add( ColumnClass Col );

C++   

public: void Add( ColumnClass^ Col );

Col

Defines the new column.

Comments

The Add method adds the specified column to the column collection.

The column is added to the end of the column collection and becomes the last displayed column.

To add more than one column, use the AddRange method instead.

This method is typically used by designers, generating the source code to populate the tree control. Applications would normally use the Columns.Count property to define the number of columns.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com